package reno.ribbon.ribbon.alerts;

import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AlertsController {

    @Autowired
    AlertsService alertsService;

    @RequestMapping(value = "/getAlertsInfo")
    public JSONObject getAlertsInfo() {
        return alertsService.getAlertsInfo();
    }


}
